import os

from langchain_community.tools.tavily_search import TavilySearchResults

os.environ["TAVILY_API_KEY"] = "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"
tool = TavilySearchResults()
resp = tool.invoke({"query": "Who is James Harden."})
print(resp)